package com.lcj.dr.service;

import com.github.pagehelper.PageInfo;
import com.lcj.dr.controller.form.WalletPageForm;
import com.lcj.dr.db.pojo.WalletEntity;
import com.lcj.dr.controller.form.DriverRechargeForm;
import com.lcj.dr.db.pojo.WalletIncomeEntity;

public interface WalletIncomeService {
    /**
     * 转账
     * @param entity
     * @return
     */
    public int transfer(WalletIncomeEntity entity);

    public int recharge(DriverRechargeForm form);

    public PageInfo<WalletEntity> searWalletIncomeByPage(WalletPageForm walletPageForm);
}